/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.meraklisina.latexeditor.mdi.FileFilters;

import java.io.File;

/**
 *
 * @author Eray
 */
public class FileFilterPDF extends javax.swing.filechooser.FileFilter
{
    public boolean accept(File f) {
        return f.isDirectory() || f.getName().toLowerCase().endsWith(".pdf");
    }

    public String getDescription() {
        return "PDF files";
    }
}

